package com.github.sbb.sherry.repository.enums;

/**
 * 数据源类型: 1:HTTP; 2:MYSQL; 3:REDIS; 4: mongodb;
 *
 * @author zhangyunan
 */
public enum DatasourceTypeEnum {

  HTTP((byte) 1),
  MYSQL((byte) 2),
  REDIS((byte) 3),
  MONGODB((byte) 4);

  private final byte value;

  DatasourceTypeEnum(byte value) {
    this.value = value;
  }

  public byte getValue() {
    return value;
  }
}
